home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
utils
/
viewers
/
textview.lzh
/
TEXTVIEW.TXT
< prev
Wrap
Text File
|
1991-05-21
|
5KB
|
160 lines
TEXTVIEW.PRG
21 May 1991
*DISASTER STRIKES!!!*
Due to an incredibly unlikely fluke that resulted in the thrasing of my
hard drive *AND* the loss of *BOTH* my sets of backup disks, the source
to this program is gone. Hence, I shall have to start from scratch,
rebuild the original features, and then add the new stuff (see Future
Enhancemets section.) Needless to say, I now keep three backup copies...
Introduction:
Text Viewer is a program written and compiled in GFA-Basic 3.0. It is
placed in the Public Domain, though the author retains the rights to
the source code. This program may not be sold or included in any
commercial software without the permission of the author.
The author shall not be liable for incidental or consequential damages
in connection with, or arising out of the use of this program.
With that out of the way, down to the nitty-gritty.
This program is essentially the result of my first attempt to write some-
thing useful in GFA-Basic 3.5. Having recently received the system,
I decided to make a serious attempt at writing a program with full window-
management facilities. The current program is the heart of a future GEM-
Based Text-Editor (if I ever get around to finishing it!)
Usage:
To use Text Viewer, simply double-click on the icon (or name, if you prefer
the text-based windows). The program will run, the bring up the fileselector
for you to choose your file. After having done this, it will display the
file in a GEM window. To exit, simply click on the close button of the
window.
An alternative way to start the program (if you have NeoDesk, Gemini, or the
new Atari Desktop) is to drag the text file you wish to read to the Text
Viewer program. It will run and load the file for display, bypassing the
fileselector.
Notes:
This program was developed on a Mega 2 ST with a monochrome monitor. It has
been tested with a color monitor so that I know it will work in Medium
resolution. Since it was written in/compiled with GFA-Basic 3.5, I can only
assume that it will work with any ST/STe/TT, etc. and any version of TOS.
If you find that this is not the case, please leave me E-Mail and let me
know what type of system you are using. (See below for addresses.)
History:
v. 1.00 - 15 December 1989
- When run from the desktop, the program presents the user with the File-
selector. Pick a text file, and the program will load and display the
file in a fully-functioning window. Scrolling is accomplished through
the use of the arrows and scroll-bars present in the window. To exit
the program, simply click on the close-button.
v. 1.01 - 18 December 1989
- In addition to the above, when you click on the close button the program
now gives you the option to choose another file. Clicking on YES will
bring up the fileselector, clicking on NO will exit the program.
- You can also click on CANCEL in the fileselector, and will be asked if
you wish to exit.
- The program now displays the date and time in the upper left and right
hand corners of the screen
- The program now has a rudimentary ASCII file-check feature. If the file
you attempt to load is not ASCII, you will be presented with an Alert box
stating such. Click on ABORT to return to the fileselector.
v. 1.02 - 31 December 1989
- Rudimentary error-checking has been implemented. Upon any internal error,
the program attempts to 'clean-up' the environment, and then exits to GEM.
v. 1.03 - 18 December 1990
- Almost a year since I first wrote this program! The old limit of 5000
lines MAX for a text file has been eliminated. The file can now be as
large as available (free) memory.
v. 1.04 - 20 December 1990
- Bug in the time-display routine for the compiled program has been found
and fixed. Time now displays properly.
v. 1.05 - 5 January 1991
- Fileselector now returns to path previously selected by user when first
loading a text file.
v. 1.10 - 6 January 1991
- Major jump in version number due to the fact that the program can now be
installed as an application in the desktop and receive parameters when
called. (i.e. in NeoDesk 3 you can drag a text file to the program, and it
will run and load the file for display.)
Future Enhancements:
- Improve the line-scrolling function to make it faster and flicker-
free. (Hopefully an assembly-language routine...)
- An option to open more than one window at once for viewing multiple
files.
- A search option to find a particular string within the text.
- Keyboard equivalents for all scrolling options.
Current (Known) Problems/Bugs:
- Certain lines that end with characters such as '*/' will flow beyond
the right scroll bar, especially if the window is resized to be shorter
than the length of the line. (I'm still trying to figure this one out).
Bug Reports:
- If you run across any bugs in the program, please let me know so that
I can fix them!
GEnie: T.ROEDER1
CIS: 72030,2510
DELPHI: ROEDERT
Usenet: troeder@mis.arizona.edu -or-
tar@naucse.cse.nau.edu
SnailMail:
Timothy A. Roeder
3551 S. San Joaquin Rd.
#C7-1
Tucson, AZ 85746
Enjoy this little utility!
Timothy A. Roeder (Programmer)
Renee E. Roeder (BBS Sysop - Moral Support)
Call our BBS! Online 7 days a week, from 10PM to 7AM MST. (602) 578-9115
- Carries programs/files from the Usenet atari.st groups.